// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '维修方法',
        name: 'sly_maintenanceaction_model',
        url: "/sly_maintenanceaction_model/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"Maintenance_Code":"","Maintenance_Name":"","Maintenance_Description":""};
    const editFormOptions = [[{"title":"编码","required":true,"field":"Maintenance_Code","type":"text"}],
                              [{"title":"名称","required":true,"field":"Maintenance_Name","type":"text"}],
                              [{"title":"描述","required":true,"field":"Maintenance_Description","type":"textarea"}]];
    const searchFormFields = {"Maintenance_Name":""};
    const searchFormOptions = [[{"title":"名称","field":"Maintenance_Name","type":"like"}]];
    const columns = [{field:'Id',title:'主键ID',type:'bigint',sort:true,width:110,readonly:true,require:true,align:'left'},
                       {field:'CreateUserId',title:'创建人Id',type:'bigint',width:110,hidden:true,require:true,align:'left'},
                       {field:'UpdateUserId',title:'更新人ID',type:'bigint',width:110,hidden:true,require:true,align:'left'},
                       {field:'CreatedUserName',title:'创建人',type:'string',width:110,align:'left'},
                       {field:'UpdatedUserName',title:'更新人',type:'string',width:110,align:'left'},
                       {field:'CreateTime',title:'创建时间',type:'datetime',width:150,align:'left'},
                       {field:'UpdateTime',title:'更新时间',type:'datetime',width:150,align:'left'},
                       {field:'IsDelete',title:'是否删除',type:'sbyte',width:110,require:true,align:'left'},
                       {field:'RedundancyColumn1',title:'RedundancyColumn1',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn2',title:'RedundancyColumn2',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn3',title:'RedundancyColumn3',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn4',title:'RedundancyColumn4',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn5',title:'RedundancyColumn5',type:'string',width:120,hidden:true,align:'left'},
                       {field:'Maintenance_Code',title:'编码',type:'string',width:110,require:true,align:'left'},
                       {field:'Maintenance_Name',title:'名称',type:'string',width:120,require:true,align:'left'},
                       {field:'Maintenance_Description',title:'描述',type:'string',width:180,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}